Skip to main content
DELETE
/
hub
/
plan
/
orders
[beta] Delete orders from a plan
curl --request DELETE \
  --url https://api.samsara.com/hub/plan/orders \
  --header 'Authorization: Bearer <token>'
This response has no body data.

Documentation Index

Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

planId
string
required

The plan identifier

orderIds
string

Comma-separated list of order IDs to delete. Mutually exclusive with deleteAll=true; exactly one of the two must be provided.

deleteAll
boolean

When true, every order in the plan is deleted. Must not be combined with orderIds. Must be set to true explicitly — false is equivalent to omitting the parameter and requires orderIds to be supplied.

Response